package com.example.demo.pdfbox.common;

import lombok.AllArgsConstructor;
import org.apache.pdfbox.pdmodel.common.PDRectangle;

@AllArgsConstructor
public class Position {
    public float startX;
    public float startY;
    public float titleHeight;
    /**
     * 页面大小
     */
    public PDRectangle rectangle ;
    /**
     * 页边距
     */
    public PdfMargin margin;

    public Position() {
    }

    public Position(float startX, float startY) {
        this.startX = startX;
        this.startY = startY;
    }
}
